/* 列表 - 批量 */
.table-footer-opt-warp {
    display: none;
}
.table-footer-opt-con {
    box-sizing: border-box;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 599;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 24px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    box-shadow:
        0 -6px 16px -8px rgba(0, 0, 0, 0.08),
        0 -9px 28px 0 rgba(0, 0, 0, 0.05),
        0 -12px 48px 16px rgba(0, 0, 0, 0.03);
}
.table-footer-opt-warp .table-footer-opt-r {
    flex: 1 1;
}

/* 列表 - 工具 */
.list-table-tool {
    margin-bottom: 15px;
}
.list-table-tool .list-table-tool-row {
    display: flex;
    margin-bottom: 20px;
}
.list-table-tool .list-table-tool-col {
    display: flex;
}
.list-table-tool .list-table-tool-col:first-child {
    width: 100%;
    flex: 1 1;
}
.list-table-tool .ml8 {
    margin-left: 8px;
}
.list-table-tool .ml18 {
    margin-left: 18px;
}
.list-table-tool .list-table-tool-col .search-btn {
    display: inline-block;
    color: #333;
    background: #ffffff;
    transition: all 0.1s;
    font-weight: 500;
    text-align: center;
    line-height: 28px;
    height: 28px;
    width: 40px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    margin-left: 8px;
}
.list-table-tool .list-table-tool-col .search-btn.search-btn-spe {
    margin-left: -52px;
    border-radius: 0 2px 2px 0;
    border: 0;
    border-left: 1px solid #d9d9d9;
    margin-top: 1px;
    width: 50px;
}
.list-table-tool .list-table-tool-col .search-btn:hover {
    background: #f7f7f7;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16);
}
.simple-form-warp {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.list-table-tool .simple-form-field {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: top;
    margin-bottom: 16px;
}
.list-table-tool .simple-form-field .form-group {
    width: 100%;
    display: flex;
}
.list-table-tool .simple-form-field .control-label {
    font-weight: 500;
    color: #333;
    line-height: 30px;
    padding: 0;
    text-align: left;
    word-break: keep-all;
    white-space: nowrap;
}
.list-table-tool .simple-form-field .control-container {
    padding-left: 4px;
    box-sizing: border-box;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    flex: 1;
}
.list-table-tool .simple-form-field .control-container .select_div {
    vertical-align: initial;
}

// 冒泡编辑框
.lyecs-popedit-btn {
    visibility: hidden;
}
tr:hover .lyecs-popedit-btn {
    visibility: inherit;
}

.advanced-search-btn {
    display: flex;
    align-items: center;
}
.advanced-search-btn i {
    font-size: 14px;
    line-height: 1;
}
.advanced-search-btn.active i {
    transform: rotate(180deg);
}

.selected-action-warp {
    position: fixed;
    bottom: 0;
    z-index: 99;
    background: #fff;
    width: 100%;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    height: 60px;
}
.selected-action {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.table-container td {
    line-height: 22px;
}
.table-container .span-tit {
    display: inline-block;
    vertical-align: middle;
    min-width: 35px;
    text-align: left;
    padding-right: 2px;
    color: #999;
}
.table-container .span-con {
    display: inline-block;
    vertical-align: middle;
}
.table-container .span-pic {
    display: inline-block;
    margin-right: 5px;
}
.table-container .span-pic img {
    border: 1px solid #eee;
    display: block;
}
.table-container .span-goods-con {
    width: 220px;
}
.table-container .span-name > a {
    color: #666;
}
.lyecs-table-list-warp {
    margin-bottom: 50px;
}
.table-container .span-name > p {
    color: #999;
}
.table-container .span-name span {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
}
//List表格
.table-container .ant-table-column-sorters {
    justify-content: left;
}
.table-container .ant-table-column-title {
    flex: initial;
    padding-right: 5px;
}
// 其它
// .table-action-row a{white-space: nowrap;}

.table-switch {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 28px;
    height: 16px;
    border-radius: 30px;
    margin-right: 8px;
    opacity: 1;
    background: #ddd;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.table-switch:hover {
    opacity: 0.8;
}

.table-switch i {
    display: inline-block;
    position: absolute;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow:
        0 1px 2px 0 rgba(0, 0, 0, 0.2),
        0 3px 4px 0 rgba(0, 0, 0, 0.1);
    z-index: 10;
    -webkit-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
    border: 0;
}
.table-switch span {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 15px;
    color: #fff;
    font-weight: bold;
    position: absolute;
    width: 33px;
    top: 0;
    overflow: hidden;
    text-align: center;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out 0.1s;
    -ms-transition: all 0.2s ease-in-out 0.1s;
    transition: all 0.2s ease-in-out 0.1s;
}

.table-switch-on {
    background: var(--tig-primary);
    box-shadow: 0 0 2px var(--tig-primary) inset;
}

.table-switch-on i {
    left: 14px;
}

.table-switch-off {
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 2px #a4a4a4 inset;
}

.table-switch-off i {
    left: 2px;
}

@media only screen and (max-width: 767px) {
    .list-table-tool .simple-form-field {
        width: 100%;
        .el-button--primary {
            width: 100%;
        }
    }
    .list-table-tool-row {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 10px;
    }
    .control-container {
        padding-right: 0 !important;
    }
    .advanced-search-btn {
        margin: 10px 0 10px 0;
        margin-left: 0 !important;
    }
    .list-table-tool-col .el-space {
        flex-wrap: wrap;
        gap: 8px !important;
    }
    .filtrate-menu {
        flex-wrap: wrap;
        .asterisk-left {
            width: 100%;
        }
    }
}
